package klasy.powtorka;

import static java.lang.Math.*;

public class S74 {

	public static void main(String[] args) {
		int a = 3;
		int b = 4;
		
		double x = 4;
		double y;
		
		y = sqrt(x);
		System.out.println(y);
		y = Math.pow(x, 3);
		System.out.println(y);
		
		x = 9.999;
		System.out.println(x);
		int n = (int) Math.round(x);
		System.out.println(n);
		y = Math.round(x);
		System.out.println(y);
		
		System.out.println(minso(a, b));
		System.out.println(winkso(a, b));
		
		boolean test = false;
		
		System.out.println(test ? 1 : 0);
	}

	public static int minso(int a, int b) {
		return a <= b ? a : b;
	}

	public static int winkso(int a, int b) {
		return a >= b ? a : b;
	}

}
